package com.cww.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @program: cww_project
 * @description:
 * @author: 陈英俊
 * @create: 2022-03-08 13:44
 */
@SpringBootApplication
@MapperScan(basePackages="com.cww.study.mapper")
public class CwwApplication extends SpringBootServletInitializer {


    public static void main(String[] args) {
        SpringApplication.run(CwwApplication.class, args);
    }


    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(CwwApplication.class);
    }
}
